class Player05{
    lateinit var equipment:String
    fun ready(){
        equipment = "sharp knife"
    }
    fun battle() {
//        println(equipment)
        if (::equipment.isInitialized) println(equipment)
    }
}

fun main() {
    val player05 = Player05()
    player05.ready()
    player05.battle()
}